package com.dyh.quickdemo.bizDemo.PlatformSplit;




import com.google.common.collect.Lists;

import java.util.List;
import java.util.stream.Collectors;

/*
@Author=Joey Wheeler
@Date=2020/11/30 16:26
*/
public class M3 {
    public static void main(String[] args) {
        List<String> lists = Lists.newArrayList(
                "A","B","C","D","E"
        );

        List<List<String>> res = Lists.partition(lists,2);

        System.out.println();

    }
}
